$(function () {
    echart_1();
    echart_2();
    echart_3();
   // echart_map();
	echart_4();
	echart_6();
	echart_8();
	echart_9();
	echart_7();
	echart_10();
	echart_11();
    //echart_1湖南货物收入
    function echart_1() {
        // 基于准备好的dom，初始化echarts实例
        var myChart = echarts.init(document.getElementById('chart_1'));
        option = {
            tooltip: {
                trigger: 'item',
                formatter: "{a} <br/>{b} : {c}家"
            },
            legend: {
                x: 'center',
                y: '15%',
                data: [ '福田区', '罗湖区', '盐田区','南山区', '宝安区', '龙岗区','龙华区', '坪山区','光明区','大鹏新区'],
                icon: 'circle',
                textStyle: {
                    color: '#333',
                }
            },
            calculable: true,
            series: [{
                name: '',
                type: 'pie',
                //起始角度，支持范围[0, 360]
                // startAngle: 0,
                //饼图的半径，数组的第一项是内半径，第二项是外半径
                radius : '45%',
                //支持设置成百分比，设置成百分比时第一项是相对于容器宽度，第二项是相对于容器高度
                center: ['60%', '65%'],
                //是否展示成南丁格尔图，通过半径区分数据大小。可选择两种模式：
                // 'radius' 面积展现数据的百分比，半径展现数据的大小。
                //  'area' 所有扇区面积相同，仅通过半径展现数据大小
                // roseType: 'radius',
                //是否启用防止标签重叠策略，默认开启，圆环图这个例子中需要强制所有标签放在中心位置，可以将该值设为 false。
                // avoidLabelOverlap: false,
                label: {
                    normal: {
                        show: true,
                        formatter: '{b}{c}'
                    },
                    emphasis: {
                        show: true
                    }
                },
                labelLine: {
                    normal: {
                        show: true,
                        length2: 1,
                    },
                    emphasis: {
                        show: true
                    }
                },
                data: [{
                        value: 335,
                        name: '福田区',
                        itemStyle: {
                            normal: {
                                color: '#f845f1'
                            }
                        }
                    },
                    {
                        value: 152,
                        name: '罗湖区',
                        itemStyle: {
                            normal: {
                                color: '#ad46f3'
                            }
                        }
                    },
                    {
                        value: 14,
                        name: '盐田区',
                        itemStyle: {
                            normal: {
                                color: '#5045f6'
                            }
                        }
                    },
                    {
                        value: 208,
                        name: '南山区',
                        itemStyle: {
                            normal: {
                                color: '#4777f5'
                            }
                        }
                    },
                    {
                        value: 270,
                        name: '宝安区',
                        itemStyle: {
                            normal: {
                                color: '#44aff0'
                            }
                        }
                    },
                    {
                        value: 204,
                        name: '龙岗区',
                        itemStyle: {
                            normal: {
                                color: '#45dbf7'
                            }
                        }
                    },
                    
                    {
                        value: 127,
                        name: '龙华区',
                        itemStyle: {
                            normal: {
                                color: '#f69846'
                            }
                        }
                    },
                    {
                        value: 23,
                        name: '坪山区',
                        itemStyle: {
                            normal: {
                                color: '#ad46f3'
                            }
                        }
                    },
                    {
                        value: 11,
                        name: '光明区',
                        itemStyle: {
                            normal: {
                                color: '#32C12E'
                            }
                        }
                    },
                    {
                        value: 8,
                        name: '大鹏新区',
                        itemStyle: {
                            normal: {
                                color: '#90F5AA'
                            }
                        }
                    },
                    
                    {
                        value: 0,
                        name: "",
                        itemStyle: {
                            normal: {
                                color: 'transparent'
                            }
                        },
                        label: {
                            show: false
                        },
                        labelLine: {
                            show: false
                        }
                    },
                    {
                        value: 0,
                        name: "",
                        itemStyle: {
                            normal: {
                                color: 'transparent'
                            }
                        },
                        label: {
                            show: false
                        },
                        labelLine: {
                            show: false
                        }
                    },
                    {
                        value: 0,
                        name: "",
                        itemStyle: {
                            normal: {
                                color: 'transparent'
                            }
                        },
                        label: {
                            show: false
                        },
                        labelLine: {
                            show: false
                        }
                    },
                    {
                        value: 0,
                        name: "",
                        itemStyle: {
                            normal: {
                                color: 'transparent'
                            }
                        },
                        label: {
                            show: false
                        },
                        labelLine: {
                            show: false
                        }
                    },
                    {
                        value: 0,
                        name: "",
                        itemStyle: {
                            normal: {
                                color: 'transparent'
                            }
                        },
                        label: {
                            show: false
                        },
                        labelLine: {
                            show: false
                        }
                    },
                    {
                        value: 0,
                        name: "",
                        itemStyle: {
                            normal: {
                                color: 'transparent'
                            }
                        },
                        label: {
                            show: false
                        },
                        labelLine: {
                            show: false
                        }
                    },
                    {
                        value: 0,
                        name: "",
                        itemStyle: {
                            normal: {
                                color: 'transparent'
                            }
                        },
                        label: {
                            show: false
                        },
                        labelLine: {
                            show: false
                        }
                    },
                    {
                        value: 0,
                        name: "",
                        itemStyle: {
                            normal: {
                                color: 'transparent'
                            }
                        },
                        label: {
                            show: false
                        },
                        labelLine: {
                            show: false
                        }
                    },
                    {
                        value: 0,
                        name: "",
                        itemStyle: {
                            normal: {
                                color: 'transparent'
                            }
                        },
                        label: {
                            show: false
                        },
                        labelLine: {
                            show: false
                        }
                    },
                    {
                        value: 0,
                        name: "",
                        itemStyle: {
                            normal: {
                                color: 'transparent'
                            }
                        },
                        label: {
                            show: false
                        },
                        labelLine: {
                            show: false
                        }
                    },
                    {
                        value: 0,
                        name: "",
                        itemStyle: {
                            normal: {
                                color: 'transparent'
                            }
                        },
                        label: {
                            show: false
                        },
                        labelLine: {
                            show: false
                        }
                    },
                    {
                        value: 0,
                        name: "",
                        itemStyle: {
                            normal: {
                                color: 'transparent'
                            }
                        },
                        label: {
                            show: false
                        },
                        labelLine: {
                            show: false
                        }
                    },
                    {
                        value: 0,
                        name: "",
                        itemStyle: {
                            normal: {
                                color: 'transparent'
                            }
                        },
                        label: {
                            show: false
                        },
                        labelLine: {
                            show: false
                        }
                    },
                    {
                        value: 0,
                        name: "",
                        itemStyle: {
                            normal: {
                                color: 'transparent'
                            }
                        },
                        label: {
                            show: false
                        },
                        labelLine: {
                            show: false
                        }
                    }
                ]
            }]
        };
        // 使用刚指定的配置项和数据显示图表。
        myChart.setOption(option);
        window.addEventListener("resize", function () {
            myChart.resize();
        });
    }

    //电子商务销售额、订单数
    function echart_2() {
        // 基于准备好的dom，初始化echarts实例
        var myChart = echarts.init(document.getElementById('chart_2'));
        myChart.clear();
        option = {
        		 tooltip: {
        		        trigger: 'axis',
        		        axisPointer: {            // 坐标轴指示器，坐标轴触发有效
        		            type: 'shadow'        // 默认为直线，可选为：'line' | 'shadow'
        		        }
        		    },
        		    legend: {
        		        data: ['2019', '2020', '2021']
        		    },
        		    grid: {
        		        left: '3%',
        		        right: '4%',
        		        bottom: '3%',
        		        containLabel: true
        		    },
        		    xAxis: [
        		        {
        		            type: 'category',
        		            data: ['0-16(岁)', '17-30(岁)', '30-40(岁)', '40-50(岁)', '50-60(岁)', '60-75(岁)', '75以上']
        		        }
        		    ],
        		    yAxis: [
        		        {
        		            type: 'value'
        		        }
        		    ],
        		    series: [
        		       
        		        {
        		            name: '2019',
        		            type: 'bar',
        		            emphasis: {
        		                focus: 'series'
        		            },
        		            data: [120, 132, 101, 134, 290, 230, 220]
        		        },
        		        {
        		            name: '2020',
        		            type: 'bar',
        		            emphasis: {
        		                focus: 'series'
        		            },
        		            data: [60, 72, 71, 74, 190, 130, 110]
        		        },
        		        {
        		            name: '2021',
        		            type: 'bar',
        		            emphasis: {
        		                focus: 'series'
        		            },
        		            data: [62, 82, 91, 84, 109, 110, 120]
        		        }
            ]
        };
        myChart.setOption(option);
    }


    //echart_3货物周转量
    function echart_3() {
        // 基于准备好的dom，初始化echarts实例
        var myChart = echarts.init(document.getElementById('chart_3'));
        myChart.clear();
        option = {
            title: {
                text: ''
            },
            tooltip: {
                trigger: 'axis'
            },
            legend: {
                data:['一级','二级','三级','四级','五级','六级','七级'],
                textStyle:{
                    color: '#333'
                },
                top: '8%'
            },
            grid: {
                top: '40%',
                left: '3%',
                right: '7%',
                bottom: '3%',
                containLabel: true
            },
            color: ['#FF4949','#FFA74D','#FFEA51','#4BF0FF','#44AFF0','#4E82FF','#584BFF','#BE4DFF','#F845F1'],
            xAxis: {
                type: 'category',
                boundaryGap: false,
                data: ['2019年','2020年','2021年'],
                splitLine: {
                    show: false
                },
                axisLine: {
                    lineStyle: {
                        color: '#333'
                    }
                }
            },
            yAxis: {
                name: '单',
                type: 'value',
                splitLine: {
                    show: false
                },
                axisLine: {
                    lineStyle: {
                        color: '#333'
                    }
                }
            },
            series: [
                {
                    name:'一级',
                    type:'line',
                    data:[ 379,269,319]
                },
                {
                    name:'二级',
                    type:'line',
                    data:[ 320,306,482]
                },
                {
                    name:'三级',
                    type:'line',
                    data:[150,590,506]
                },
                {
                    name:'四级',
                    type:'line',
                    data:[606,609,606]
                },
                {
                    name:'五级',
                    type:'line',
                    data:[126,900,809]
                },
                {
                    name:'六级',
                    type:'line',
                    data:[104,690,506]
                },
                {
                    name:'七级',
                    type:'line',
                    data:[236,609,260]
                }
            ]
        };
        myChart.setOption(option);
    }
	
	function echart_4() {
        // 基于准备好的dom，初始化echarts实例
        var myChart = echarts.init(document.getElementById('chart_4'));
        option = {
        		   tooltip: {
                       trigger: 'item',
                       formatter: "{b} : {c}人"
                   },	
        		xAxis: {
        	        type: 'category',
        	        data: ['宝安康复中心', '梅林康复二院', '健院医护中心', '南鹤堂', '仁和协助中心', '南方保健中心', '龙华仁爱中心']
        	    },
        	    yAxis: {
        	        type: 'value'
        	    },
        	    series: [{
        	        data: [120, 200, 150, 80, 70, 110, 130],
        	        type: 'bar'
        	    }]
        };
        // 使用刚指定的配置项和数据显示图表。
        myChart.setOption(option);
        window.addEventListener("resize", function () {
            myChart.resize();
        });
    }

    //湖南省飞机场
    function echart_5() {
        // 基于准备好的dom，初始化echarts实例
        var myChart = echarts.init(document.getElementById('chart_5'));

        function showProvince() {
                var geoCoordMap = {
                    '长沙黄花国际机场': [113.226512,28.192929],
                    '张家界荷花机场': [110.454598,29.107223],
                    '常德桃花源机场': [111.651508,28.921516],
                    '永州零陵机场': [111.622869,26.340994],
                    '怀化芷江机场': [109.714784,27.44615],
                };
                var data = [{
                        name: '长沙黄花国际机场',
                        value: 100
                    },
                    {
                        name: '张家界荷花机场',
                        value: 100
                    },
                    {
                        name: '常德桃花源机场',
                        value: 100
                    },
                    {
                        name: '永州零陵机场',
                        value: 100
                    },
                    {
                        name: '怀化芷江机场',
                        value: 100
                    }
                ];
                var max = 480,
                    min = 9; // todo 
                var maxSize4Pin = 100,
                    minSize4Pin = 20;
                var convertData = function (data) {
                    var res = [];
                    for (var i = 0; i < data.length; i++) {
                        var geoCoord = geoCoordMap[data[i].name];
                        if (geoCoord) {
                            res.push({
                                name: data[i].name,
                                value: geoCoord.concat(data[i].value)
                            });
                        }
                    }
                    return res;
                };

                myChart.setOption(option = {
                    title: {
                        top: 20,
                        text: '',
                        subtext: '',
                        x: 'center',
                        textStyle: {
                            color: '#ccc'
                        }
                    },
                    legend: {
                        orient: 'vertical',
                        y: 'bottom',
                        x: 'right',
                        data: ['pm2.5'],
                        textStyle: {
                            color: '#333'
                        }
                    },
                    visualMap: {
                        show: false,
                        min: 0,
                        max: 500,
                        left: 'left',
                        top: 'bottom',
                        text: ['高', '低'], // 文本，默认为数值文本
                        calculable: true,
                        seriesIndex: [1],
                        inRange: {
                        }
                    },
                    geo: {
                        show: true,
                        map:'hunan',
                        mapType: 'hunan',
                        label: {
                            normal: {
                            },
                            //鼠标移入后查看效果
                            emphasis: {
                                textStyle: {
                                    color: '#fff'
                                }
                            }
                        },
                        //鼠标缩放和平移
                        roam: true,
                        itemStyle: {
                            normal: {
                                //          	color: '#ddd',
                                borderColor: 'rgba(147, 235, 248, 1)',
                                borderWidth: 1,
                                areaColor: {
                                    type: 'radial',
                                    x: 0.5,
                                    y: 0.5,
                                    r: 0.8,
                                    colorStops: [{
                                        offset: 0,
                                        color: 'rgba(175,238,238, 0)' // 0% 处的颜色
                                    }, {
                                        offset: 1,
                                        color: 'rgba(	47,79,79, .2)' // 100% 处的颜色
                                    }],
                                    globalCoord: false // 缺省为 false
                                },
                                shadowColor: 'rgba(128, 217, 248, 1)',
                                shadowOffsetX: -2,
                                shadowOffsetY: 2,
                                shadowBlur: 10
                            },
                            emphasis: {
                                areaColor: '#389BB7',
                                borderWidth: 0
                            }
                        }
                    },
                    series: [{
                            name: 'light',
                            type: 'map',
                            coordinateSystem: 'geo',
                            data: convertData(data),
                            itemStyle: {
                                normal: {
                                    color: '#F4E925'
                                }
                            }
                        },
                        {
                            name: '点',
                            type: 'scatter',
                            coordinateSystem: 'geo',
                            symbol: 'pin',
                            symbolSize: function(val) {
                                var a = (maxSize4Pin - minSize4Pin) / (max - min);
                                var b = minSize4Pin - a * min;
                                b = maxSize4Pin - a * max;
                                return a * val[2] + b;
                            },
                            label: {
                                normal: {
                                    // show: true,
                                    // textStyle: {
                                    //     color: '#fff',
                                    //     fontSize: 9,
                                    // }
                                }
                            },
                            itemStyle: {
                                normal: {
                                    color: '#F62157', //标志颜色
                                }
                            },
                            zlevel: 6,
                            data: convertData(data),
                        },
                        {  
                            name: 'light',
                            type: 'map',
                            mapType: 'hunan',
                            geoIndex: 0,
                            aspectScale: 0.75, //长宽比
                            showLegendSymbol: false, // 存在legend时显示
                            label: {
                                normal: {
                                    show: false
                                },
                                emphasis: {
                                    show: false,
                                    textStyle: {
                                        color: '#fff'
                                    }
                                }
                            },
                            roam: true,
                            itemStyle: {
                                normal: {
                                    areaColor: '#031525',
                                    borderColor: '#FFFFFF',
                                },
                                emphasis: {
                                    areaColor: '#2B91B7'
                                }
                            },
                            animation: false,
                            data: data
                        },
                        {
                            name: ' ',
                            type: 'effectScatter',
                            coordinateSystem: 'geo',
                            data: convertData(data.sort(function (a, b) {
                                return b.value - a.value;
                            }).slice(0, 5)),
                            symbolSize: function (val) {
                                return val[2] / 10;
                            },
                            showEffectOn: 'render',
                            rippleEffect: {
                                brushType: 'stroke'
                            },
                            hoverAnimation: true,
                            label: {
                                normal: {
                                    formatter: '{b}',
                                    position: 'right',
                                    show: true
                                }
                            },
                            itemStyle: {
                                normal: {
                                    color: '#05C3F9',
                                    shadowBlur: 10,
                                    shadowColor: '#05C3F9'
                                }
                            },
                            zlevel: 1
                        },

                    ]
                });
        }
        showProvince();

        // 使用刚指定的配置项和数据显示图表。
        // myChart.setOption(option);
        window.addEventListener("resize", function () {
            myChart.resize();
        });
    }
	
	function echart_6() {
       var myChart =  echarts.init(document.getElementById('chart_6'));

       myChart.clear();
       option = {
           title: {
               text: ''
           },
           tooltip: {
               trigger: 'axis'
           },
           legend: {
               data:['训练总人数','可接纳总人数'],
               textStyle:{
                   color: '#333'
               },
               top: '8%'
           },
           grid: {
               top: '40%',
               left: '3%',
               right: '7%',
               bottom: '3%',
               containLabel: true
           },
           color: ['#FF4949','#FFA74D','#FFEA51','#4BF0FF','#44AFF0','#4E82FF','#584BFF','#BE4DFF','#F845F1'],
           xAxis: {
               type: 'category',
               boundaryGap: false,
               data: ['宝安康复中心', '梅林康复二院', '健院医护中心', '南鹤堂', '仁和协助中心', '南方保健中心', '龙华仁爱中心'],
               splitLine: {
                   show: false
               },
               axisLine: {
                   lineStyle: {
                       color: '#333'
                   }
               }
               ,
               axisLabel: {  
            	   interval:0,  
            	   rotate:40  
            	}
           },
           yAxis: {
               name: '',
               type: 'value',
               splitLine: {
                   show: false
               },
               axisLine: {
                   lineStyle: {
                       color: '#333'
                   }
               }
           },
           series: [
               {
                   name:'训练总人数',
                   type:'line',
                   data:[3961, 4233, 4183, 3633, 3704,4455,4561]
               }
               ,
               {
                   name:'可接纳总人数',
                   type:'line',
                   data:[3500, 4000, 4866, 3233, 3200,4231,4922]
               }
               
           ]
       };
       myChart.setOption(option);
    }
	
		
		function echart_7() {
       var myChart =  echarts.init(document.getElementById('chart_7'));

			var app = {};
			var option;
			option = {
				    tooltip: {
				        trigger: 'item'
				    },
				    legend: {
				        top: '5%',
				        left: 'center'
				    },
				    series: [
				        {
				            name: '访问来源',
				            type: 'pie',
				            radius: ['40%', '70%'],
				            avoidLabelOverlap: false,
				            label: {
				                show: false,
				                position: 'center'
				            },
				            emphasis: {
				                label: {
				                    show: true,
				                    fontSize: '40',
				                    fontWeight: 'bold'
				                }
				            },
				            labelLine: {
				                show: false
				            },
				            data: [
				            	 {value: 40, name: '眼科'},
					                {value: 38, name: '肢体科'},
					                {value: 32, name: '精神科'},
					                {value: 30, name: '咽喉科'},
					                {value: 28, name: '烧伤科'},
					                {value: 26, name: '基础护理科'},
					                {value: 22, name: '重症护理科'},
					                {value: 18, name: '综合治理科'}
				            ]
				        }
				    ]
				};
				               

		if (option && typeof option === 'object') {
			myChart.setOption(option);
		}

    }
	function echart_8() {
       var myChart =  echarts.init(document.getElementById('chart_8'));

			var app = {};
			var option;

			option = {
				 tooltip: {
                trigger: 'item',
                formatter: "颜色，人数，类型<br/>{c} "
            },
				dataset: {	
					source: [
						['score', 'number', 'product'],
						[10, 100, '月护'],
						[20, 200, '季护'],
						[30, 300, '年护'],
						[40, 400, '日护'],
						[50, 500, '终身制'],
						[60, 600, '病例制'],
						[70, 700, '收养制']
					]
				},
				    grid: {
              
                left: '3%',
                right: '15%',
              
                containLabel: true
            },
				xAxis: {name: 'number', axisLine: {
						lineStyle: {
							color: "#333",
						}
					}},
				yAxis: {type: 'category', axisLine: {
						lineStyle: {
							color: "#333",
						}
					}},
				visualMap: {
					orient: 'horizontal',
					left: 'center',
					min: 10,
					max: 100,
					text: ['High Score', 'Low Score'],
					// Map the score column to color
					dimension: 0,
					inRange: {
						color: ['#65B581', '#FFCE34', '#FD665F']
					},
					 textStyle:{
					color:"#333"
				}
				},
				series: [
					{
						type: 'bar',
						encode: {
							// Map the "number" column to X axis.
							x: 'number',
							// Map the "product" column to Y axis
							y: 'product'
						}
						

					}
				]
			};

			if (option && typeof option === 'object') {
				myChart.setOption(option);
			}
    }
	
		function echart_9() {
       var myChart =  echarts.init(document.getElementById('chart_9'));

			var app = {};
			var option;


		option = {
			title: {
				text: '',
				subtext: '',
				left: 'center'
			},
			tooltip: {
				trigger: 'item',
				formatter: ' <br/>{b} : {c} ({d}%)'
			},
			legend: {
				bottom: 10,
				left: 'center',
				data: ['国企', '合资', '私营', '个人'],
				textStyle: {
							color: '#333',
						}
			},
			series: [
				{
					type: 'pie',
					radius: '65%',
					center: ['50%', '50%'],
					selectedMode: 'single',
					data: [
						{
							value: 45220,  name: '国企',
						  
						},
						{value: 49771, name: '合资'},
						{value: 5020, name: '私营'},
						{value: 2908, name: '个人'}
					],
					emphasis: {
						itemStyle: {
							shadowBlur: 10,
							shadowOffsetX: 0,
							shadowColor: 'rgba(0, 0, 0, 0.5)'
						}
					}
				}
			]
		};

		if (option && typeof option === 'object') {
			myChart.setOption(option);
		}
    }
		 function echart_10() {
		        // 基于准备好的dom，初始化echarts实例
		        var myChart = echarts.init(document.getElementById('chart_10'));
		        myChart.clear();
		        option = {
		            title: {
		                text: ''
		            },
		            tooltip: {
		                trigger: 'axis'
		            },
		            legend: {
		                data:['康复总数'],
		                textStyle:{
		                    color: '#333'
		                },
		                top: '8%'
		            },
		            grid: {
		                top: '40%',
		                left: '3%',
		                right: '7%',
		                bottom: '3%',
		                containLabel: true
		            },
		            color: ['#FF4949','#FFA74D','#FFEA51','#4BF0FF','#44AFF0','#4E82FF','#584BFF','#BE4DFF','#F845F1'],
		            xAxis: {
		                type: 'category',
		                boundaryGap: false,
		                data: ['2015年','2016年','2017年','2018年','2019年','2020年','2021年'],
		                splitLine: {
		                    show: false
		                },
		                axisLine: {
		                    lineStyle: {
		                        color: '#333'
		                    }
		                }
		            },
		            yAxis: {
		                name: '',
		                type: 'value',
		                splitLine: {
		                    show: false
		                },
		                axisLine: {
		                    lineStyle: {
		                        color: '#333'
		                    }
		                }
		            },
		            series: [
		                {
		                    name:'康复总数',
		                    type:'line',
		                    data:[3961, 4233, 4183, 3633, 3704,4455,4561]
		                }
		                
		            ]
		        };
		        myChart.setOption(option);
		    }


		    //echart_3货物周转量
		    function echart_11() {
		        // 基于准备好的dom，初始化echarts实例
		        var myChart = echarts.init(document.getElementById('chart_11'));
		        myChart.clear();
		        option = {
		            title: {
		                text: ''
		            },
		            tooltip: {
		                trigger: 'axis'
		            },
		            legend: {
		                data:['视力','听力','言语','肢体','智力','精神','多重'],
		                textStyle:{
		                    color: '#333'
		                },
		                top: '8%'
		            },
		            grid: {
		                top: '40%',
		                left: '3%',
		                right: '7%',
		                bottom: '3%',
		                containLabel: true
		            },
		            color: ['#FF4949','#FFA74D','#FFEA51','#4BF0FF','#44AFF0','#4E82FF','#584BFF','#BE4DFF','#F845F1'],
		            xAxis: {
		                type: 'category',
		                boundaryGap: false,
		                data: ['2019','2020','2021'],
		                splitLine: {
		                    show: false
		                },
		                axisLine: {
		                    lineStyle: {
		                        color: '#333'
		                    }
		                }
		            },
		            yAxis: {
		                name: '人',
		                type: 'value',
		                splitLine: {
		                    show: false
		                },
		                axisLine: {
		                    lineStyle: {
		                        color: '#333'
		                    }
		                }
		            },
		            series: [
		                {
		                    name:'视力',
		                    type:'line',
		                    data:[ 37,40,41]
		                },
		                {
		                    name:'听力',
		                    type:'line',
		                    data:[ 32,56,77]
		                },
		                {
		                    name:'言语',
		                    type:'line',
		                    data:[ 15,55,12]
		                },
		                {
		                    name:'肢体',
		                    type:'line',
		                    data:[88,55,12,99]
		                },
		                {
		                    name:'智力',
		                    type:'line',
		                    data:[72,22,88]
		                },
		                {
		                    name:'精神',
		                    type:'line',
		                    data:[13,33,11]
		                },
		                {
		                    name:'多重',
		                    type:'line',
		                    data:[16,44,22]
		                }
		            ]
		        };
		        myChart.setOption(option);
		    }
    //点击跳转
    // $('#chart_map').click(function(){
    //     window.location.href = './page/index.html';
    // });
    // $('.t_btn2').click(function(){
    //     window.location.href = "./page/index.html?id=2";
    // });
    // $('.t_btn3').click(function(){
    //     window.location.href = "./page/index.html?id=3";
    // });
    // $('.t_btn4').click(function(){
    //     window.location.href = "./page/index.html?id=4";
    // });
    // $('.t_btn5').click(function(){
    //     window.location.href = "./page/index.html?id=5";
    // });
    // $('.t_btn6').click(function(){
    //     window.location.href = "./page/index.html?id=6";
    // });
    // $('.t_btn7').click(function(){
    //     window.location.href = "./page/index.html?id=7";
    // });
    // $('.t_btn8').click(function(){
    //     window.location.href = "./page/index.html?id=8";
    // });
    // $('.t_btn9').click(function(){
    //     window.location.href = "./page/index.html?id=9";
    // });
});
